package com.itheima.InClass;


public class TestPhone {
    public static void main(String[] args) {
        Phone xiaomi =new Phone();//创建对象
        xiaomi.brand = "小米";
        xiaomi.price = 2999;
        System.out.println(xiaomi.brand+"..."+xiaomi.price);
        xiaomi.call("阿强");
        xiaomi.senMessage();
        System.out.println(xiaomi);//com.itheima.InClass.Phone@3d24753a   全类名
    }
}
